\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Information about what fonts are available in a given Fonts directory is condensed into an index by
\b buildafmdir
\b0 . \
This index is used by the FontManager in the Application Kit to do intelligent font conversion. The directory argument should be one of /NextLibrary/Fonts, /LocalLibrary/Fonts or ~/Library/Fonts (the three directories searched by the Application Kit and the Window Server to find fonts). buildafmdir creates a file named .fontdirectory in the specified directory. Until a font installation application is available, this command should be run after any afm file is installed in a Fonts directory.
CommandArgument
directory
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The Fonts directory where the fonts to be indexed are
\pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 METAFONT reads the program in the specified files and outputs font rasters (in gf format) and font metrics (tfm files). METAFONT capabilities and language are described in The METAFONTbook by Donald E. Knuth, published by AddisonWesley. There is also an older manual, TeX and METAFONT, which describes the older version of METAFONT, now called METAFONT-in-SAIL, but this description is now obsolete.
first_line
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The first input line to
\b0 is a program for downloading typefaces into a non-NeXT PostScript printer. Once a typeface has been downloaded, it is available to print jobs in the same way as the typefaces that come with the printer. These typefaces stay resident in the printer until the printer is turned off and on, or is reset. Typefaces must be known to the NeXT system, so they must be in one of the standard directories for fonts. The list of typefaces can be obtained from the Font panel.\
Please note: This application only works on 2.0 format fonts. To convert from 1.0 to 2.0 font format, use the font_update_2.0 program.\
fontloader writes a PostScript print job to the standard output that will install the specified typefaces in a printer. The job must then be spooled, normally by using the lpr command. For example:\
The typefaces are not available in the printer until after this spooled job completes.\
A typeface name must be the PostScript font name. This is the name of the .font directory in which the typeface information is stored. The name is often constructed from the font family name, a dash (-), and the typeface or style name, for example: Times-BoldItalic.\
Each typeface must be specified separately; there is no way to specify an entire font family. Since each typeface uses up memory in the printer, it is important to be selective about which typefaces are downloaded. There is no way to selectively delete typefaces once they have been downloaded. However, all downloaded typefaces can be deleted by turning the printer off and on again.\
The generated PostScript job does not check whether the font is already defined in the printer. This allows downloading of a newer version of the same typeface. It also means that the user should be careful not to download the same typeface twice.\
fontloader will not work with a NeXT 400 dpi printer; this will result in a PostScript error like "undefined; Offending Command: serverdict". Use the normal NeXT font installation procedures for NeXT 400 dpi printers.
\pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Includes the printer password in the spooled job. If this is not specified, the password "0" is used
password
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The printer password
typeface
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The typefaces to download to the printer
\b0 converts a generic font file (output by Metafont) to a packed font file for use by dvi-reading programs. Packed font files are much smaller than the corresponding gf files, and it is rapidly becoming the font format of choice.\
The gf filename on the command line must be complete. Because the resolution is part of the extension, it would not make sense to add on a default extension as is done with TeX or dvi-reading software. The pk file name defaults to the same stripped name as the gf file, and it is placed in the current working directory with the `pk' extension replacing `gf'. For example, the input file io.300gf would become io.300pk.\
Unless the gf filename begins with a / (absolute path), gftopk will search the environment variable GFFONTS for an input directory path, and will default to the TEXFONTS directory path if GFFONTS does not exist. It runs absolutely silently, unless the -v flag is set.
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 It runs absolutely silently, unless the -v flag is set
gf_file_name
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The generic font file name
pk_file_name
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The packed font file name
\pard\tx1152\tx2304\tx3456\tx4608\tx5760\tx6912\tx8064\tx9216\tx10368\tx11520\f0\b0\i0\ulnone\fs24\fc0\cf0 Translates a generic font file (output by Metafont) to a file humans can read. It also serves as a gf file-validating program (i.e., if can read it, it's correct) and as an example of a gf-reading program for conversion programs. The gf filename on the command line must be complete. Because the resolution is part of the extension, it would not make sense to add on a default extension as is done with TeX or dvi-reading software. All output is to standard output.
\pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Displays the symbolic listing of commands (mnemonics)
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Displays the bit-map of each character
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The font file name
output_file_name
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The font output file name
\b0 converts a packed font file back to a generic font file for use by dvi-reading programs. Packed font files are much smaller than the corresponding gf files, but many devices use generic font files.\
The pk filename on the command line must be complete. Because the resolution is part of the extension, it would not make sense to add on a default extension as is done with TeX or dvi-reading software. The gf file name defaults to the same stripped name as the pk file, and it is placed in the current working directory with the `gf' extension replacing `pk'. For example, the input file io.300pk would become io.300gf.\
Unless the pk filename begins with a / (absolute path), pktogf will search the environment variable PKFONTS for an input directory path, and will default to the TEXFONTS directory path if PKFONTS does not exist. It runs absolutely silently, unless the -v flag is set.
\pard\tx533\tx1067\tx1601\tx2135\tx2668\tx3202\tx3736\tx4270\tx4803\tx5337\f0\b0\i0\ulnone\fs24\fc0\cf0 Unless this is set, the command executes silently
\b0 translates a packed font file to a file humans can read. It also serves as a pk file-validating program (i.e., if pktype can read it, it's correct) and as an example of a pk-reading program for device drivers and future conversion programs. The output file includes information about the widths, heights, and other assorted statistics about the characters. The pk filename on the command line must be complete. Because the resolution is part of the extension, it would not make sense to add on a default extension as is done with TeX or dvi-reading software. If the output_file_name is not specified, standard output is used.
\b0 is used to build Adobe Font Metric (AFM) files for the screen-width versions of a particular font. screenafm is usually executed as part of the font installation procedure for a font. It takes as input a font metric file for the font as a whole, and a number of standard Adobe Bitmap Description format (BDF) files. It produces one font metrics file for each BDF file it is given, describing the character widths for that size of that font if screen widths are being used. The Bitmap Distribution Format files provided as input to screenafm must be given in order from smallest to largest.\
The AFM files output by screenafm should be placed in the AFM directory where the font is being installed. For more information about how to create and install fonts, see the document Fonts in NextStep, available on-line in /NextLibrary/Documentation/NextDev/Notes.\
When screenafm is run, it looks for the AFM file for the given font in the current directory, in the directory ../afm, and then in the three standard AFM file directories (see below). The inclusion of ../afm is often helpful when working in a conventional font source tree.
fontname
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The font name to build screen version for
bdffile
{\rtf0\ansi{\fonttbl\f0\fmodern Courier;}
\margl40
\margr40
\pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 The bitmap description files to build the screen font from